﻿<navigation:Page 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"                   
           xmlns:System="clr-namespace:System;assembly=mscorlib" x:Class="IndexMarkSilverlightClient.Views.ReportsMain"
           xmlns:viewmodel="clr-namespace:IndexMarkSilverlightClient" 
           xmlns:classes="clr-namespace:IndexMarkSilverlightClient.Classes"   
           d:DesignWidth="640" d:DesignHeight="480"                   
           Title="Отчетность">
    
    <navigation:Page.Resources>
        
    </navigation:Page.Resources>
    
    <Grid x:Name="LayoutRoot">
        
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*" x:Name="ReportsListColumn"/>
            <ColumnDefinition Width="5*" x:Name="ContentColumn"/>
        </Grid.ColumnDefinitions>

        <StackPanel Orientation="Vertical" Grid.Column="0" Style="{StaticResource ContentPanelStyle}">
            <TextBlock Text="Подразделение:" Margin="5, 0, 0, 0" Visibility="Collapsed"  />
            <ComboBox Name="_ReportType" Margin="5, 0, 8, 0" Visibility="Collapsed" />
            <TextBlock Text="Список отчетов" FontSize="14.667" Margin="5, 0, 0, 0"/>
            <controls:TreeView x:Name="ReportsTreeView" Style="{StaticResource MainTreeViewStyle}">
                <controls:TreeViewItem Header="Индекс-лист" Selected="Index_Selected" />
                <controls:TreeViewItem Header="Индексы докторов" Selected="Index_Docs"  x:Name="IndexDocs" />
                <controls:TreeViewItem Header="Надбавки" x:Name="PremiumsItem" Selected="Money_Selected" />
                <!--<controls:TreeViewItem Header="Индекс-лист" >
                    <controls:TreeViewItem Header="Общий" Selected="TreeViewItem_Selected_1" />
                    <controls:TreeViewItem Header="Доктора наук" Selected="DocIndex_Selected" />
                </controls:TreeViewItem>

                <controls:TreeViewItem Header="Надбавки" x:Name="PremiumsItem"  >
                    <controls:TreeViewItem Header="Общие" Selected="PremiumsItem_Selected" />
                    <controls:TreeViewItem Header="Доктора наук"  Selected="DocMoney_Selected" />
                </controls:TreeViewItem>-->
                <controls:TreeViewItem Header="Отчеты по преподавателям" IsExpanded="True" Visibility="Visible">
                    <controls:TreeViewItem Header="Объемы показателей" Selected="TreeViewItem_Selected" />
                    <controls:TreeViewItem Header="ЛИДИА" Selected="TreeViewItem_Selected_4" Visibility="Collapsed" />
                </controls:TreeViewItem>
                
                <controls:TreeViewItem Header="Отчеты по университету" IsExpanded="True">
                    <controls:TreeViewItem Header="Подозрительные значения" Visibility="Collapsed" />
                    <controls:TreeViewItem Header="Средние индексы" Selected="TreeViewItem_Selected_3" />
                    <controls:TreeViewItem Header="Распределение индексов" Selected="TreeViewItem_Selected_5" />
                    <controls:TreeViewItem Header="Нулевые показатели" Selected="TreeViewItem_Selected_2" />
                </controls:TreeViewItem>
            </controls:TreeView>
         </StackPanel>

        <controls:GridSplitter Grid.Column="0" Background="CornflowerBlue" Width="6" BorderBrush="Transparent" BorderThickness="0" Style="{StaticResource MainGridSplitterStyle}"/>

        <Grid x:Name="Content" Grid.Column="1" Background="{StaticResource ContentPanelBackgroundColorBrush2}"/>

    </Grid>
</navigation:Page>
